import request from '@/utils/request'

// 查询签证咨询最近浏览列表
export function listConsvisit(query) {
  return request({
    url: '/member/consvisit/list',
    method: 'get',
    params: query
  })
}

// 查询签证咨询最近浏览详细
export function getConsvisit(id) {
  return request({
    url: '/member/consvisit/' + id,
    method: 'get'
  })
}

// 新增签证咨询最近浏览
export function addConsvisit(data) {
  return request({
    url: '/member/consvisit',
    method: 'post',
    data: data
  })
}

// 修改签证咨询最近浏览
export function updateConsvisit(data) {
  return request({
    url: '/member/consvisit',
    method: 'put',
    data: data
  })
}

// 删除签证咨询最近浏览
export function delConsvisit(id) {
  return request({
    url: '/member/consvisit/' + id,
    method: 'delete'
  })
}

// 导出签证咨询最近浏览
export function exportConsvisit(query) {
  return request({
    url: '/member/consvisit/export',
    method: 'get',
    params: query
  })
}